import { Result, Page } from './common';

interface Compare {
  sourceId: string;
  workerType: string;
  reason: string;
  thumbnail: string[];
  cost: number;
  errorCode: string;
  compareId: number;
  priority: number;
  type: string;
  offlineDatabagStatus: string;
  createTime: string;
  name: string;
  projectId: string;
  status: string;
}

type CompareBean = Compare;

export interface CompareBeanModel extends Result {
  data: CompareBean;
}

export interface CompareBeanInBatchesModel extends Result {
  data: {
    page: Page;
    list: CompareBean[];
  };
}
